package com.flyzing.genl;

import java.net.URL;

/**
 * @author yaoguangyao
 * @Date 2021年1月4日
 */
public class MybatisGenL {
	public static void generateP(String path) {
		GenLight genLight = new GenLight(path);
		genLight.generate();
	}
	
	public static void generateN(String name) {
		URL url = GenLight.class.getResource(name); 
		GenLight genLight = new GenLight(url.getPath());
		genLight.generate();
	}

	public static void generate() {
		generateN("/genl.properties");
	}
	
	public static void main(String[] args) {
		generateN("genl-default.properties");
	}
}
